<?php $this->headScript()->appendFile($this->JS_PATH . 'meeting.js'); ?>
<div class="container-fluid">
    <div id="pad-wrapper" class="form-page">
        
        <div class="row-fluid form-wrapper">
            <!-- left column -->
            <div class="span6 column">

                <?php if ($this->successmessage != ''): ?>
                    <div class="alert alert-success">
                        <i class="icon-ok-sign"></i> <?php echo $this->successmessage; ?>
                    </div>
                <?php endif; ?>



                <?php if (count($this->errorMessageArray) > 0): ?>
                    <div class="alert alert-error">
                        <?php foreach ($this->errorMessageArray as $erroValue): ?>
                            
                                <div class="text-left">
                                    <i class="icon-remove-sign"></i>
                                    <?php echo $erroValue; ?>
                                </div>
                            
                        <?php endforeach; ?>
                    </div>
                <?php endif; ?>



                <form action="<?php echo $this->url(array('module' => 'admin','controller' => 'meeting', 'action' => 'form'), null, TRUE); ?>" method="post">
                    <div class="field-box">
                        <label>Meeting Name:</label>
                        
                        <?php echo $this->form->url_id; ?>
                        <?php echo $this->form->url_name; ?>
                    </div>

                    <div class="field-box">
                        <label>Meeting Custom URL:</label>
                        <?php echo $this->form->url_hashtag; ?>
                    </div>

                    <div class="field-box">
                        <label>Ask page Url (Link where audience can ask questions) :</label>
                        <?php echo $this->form->url_askpage_url; ?>
                    </div>
                    
                    <div class="field-box">
                        <label>Presenation Url (Link where speaker can present and discuss questions) :</label>
                        <?php echo $this->form->url_presentatioin_url; ?>

                    </div>
                    
                    <div class="field-box">
                        <label>Status:</label>
                        <div class="ui-select">
                            <?php echo $this->form->url_status; ?>
                        </div>
                    </div>
                    
                    <br/>   
                    <div class="field-box actions">
                        <?php if($this->mode == 'Add'): ?>
                        <input type="submit" value="Create meeting" class="btn-glow primary">
                        <?php else: ?>
                        <input type="submit" value="Edit meeting" class="btn-glow primary">
                        <?php endif;?>
                        
                        
                    </div>

                </form>
            </div>
        </div>
    </div>
</div>   
